package musika;

import junit.framework.TestCase;

public class KonpasaTest extends TestCase {
	
	Konpasa k;
	
	protected void setUp() throws Exception {
		super.setUp();
		k=new Konpasa(24);
	}

	protected void tearDown() throws Exception {
		super.tearDown();
		k=null;
	}

	public void testKonpasa() {
		assertNotNull(k);
	}

	public void testGetNotak() {
		assertNotNull(k.getNotak());
	}


	public void testGetUnitateak() {
		assertEquals(16,k.getUnitateak());
	}

	public void testSetUnitateak() {
		
		k.setUnitateak(32);
		
		assertEquals(32,k.getUnitateak());
	}

}
